package bdddaos;

import java.util.List;

public interface DAOGeneric<T, PK> {
    T save(T newInstance);
    T find(PK id);
    List<T> findAll();
    void update(T transientObject);
    void delete(T persistentObject);
}
